![]() |
PaintRect |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Paints a rectangle with the graphics pen’s pattern and pattern mode.
void PaintRect ( const Rect *r );
The rectangle to paint.
The PaintRect function draws the interior of the rectangle that you specify in the r parameter with the pen pattern for the current graphics port, according to the pattern mode for the current graphics port. The pen location does not change.
Use the FillRect to draw the interior of a rectangle with a pen pattern different from that for the current graphics port.
The PaintRect function may move or purge memory blocks in the application heap; do not call this function at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)